package com.gitee.cirnochat.common.event;

import com.gitee.cirnochat.common.model.enums.EmailSendType;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;


@Getter
public class EmailSendEvent extends ApplicationEvent {

    private final String email;

    private final EmailSendType emailSendType;

    public EmailSendEvent(Object source , String email , EmailSendType emailSendType) {
        super(source);
        this.email = email;
        this.emailSendType = emailSendType;
    }
}